/*
 * NumberValidatorTests.h
 *
 *  Created on: 02 Ιουν 2010
 *      Author: Sartios
 */

#ifndef NUMBERVALIDATORTESTS_H_
#define NUMBERVALIDATORTESTS_H_

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>

#include "../../../Validators/AddressValidators/NumberValidators/IStreetNumberValidator.h"

class NumberValidatorTests :public CppUnit::TestFixture{
	CPPUNIT_TEST_SUITE(NumberValidatorTests);

	CPPUNIT_TEST(streetNumberHasAppropriateContent_NumbersAsContent_ReturnTrue);
	CPPUNIT_TEST(streetNumberHasAppropriateContent_CharsAsContent_ReturnFalse);
	CPPUNIT_TEST(streetNumberHasAppropriateContent_SymbolsAsContent_ReturnFalse);
	CPPUNIT_TEST(streetNumberHasAppropriateContent_MixContent_ReturnFalse);

	CPPUNIT_TEST_SUITE_END();
public:
	void	setUp();

	void	tearDown();

	void	streetNumberHasAppropriateContent_NumbersAsContent_ReturnTrue();

	void	streetNumberHasAppropriateContent_CharsAsContent_ReturnFalse();

	void	streetNumberHasAppropriateContent_SymbolsAsContent_ReturnFalse();

	void	streetNumberHasAppropriateContent_MixContent_ReturnFalse();

private:
	IStreetNumberValidator *streetNumberValidator;
	const string	*symbols_;
};

#endif /* NUMBERVALIDATORTESTS_H_ */
